package com.jyxd.web.mq;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@ConfigurationProperties(prefix = "spring.rabbitmq")
public class RabbitModuleProperties {

    private List<RabbitModuleInfo> modules;

    public List<RabbitModuleInfo> getModules() {
        return modules;
    }

    public void setModules(List<RabbitModuleInfo> modules) {
        this.modules = modules;
    }
}
